package com.example.manager.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.manager.domain.SysDept;
import com.example.manager.service.SysDeptService;
import com.example.manager.mapper.SysDeptMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_dept(部门管理表)】的数据库操作Service实现
* @createDate 2024-10-14 12:11:33
*/
@Service
public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept>
    implements SysDeptService{

    public List<SysDept> findC(Integer parentId,String deptName, String status){
        return baseMapper.findC(parentId,deptName,status);
    }

    public List<SysDept> findD(Integer parentId){
        return baseMapper.findD(parentId);
    }

}




